class AddColumnOnUser < ActiveRecord::Migration
  def self.up
    add_column :users, :firstname,:string,:limit => 50
    add_column :users, :lastname,:string,:limit => 50
    add_column :users, :surname,:string,:limit => 50
    add_column :users, :role,:string,:limit => 50
  end

  def self.down
    remove_column :users , :firstname
    remove_column :users,:lastname
    remove_column :users, :surname
    remove_column :users, :role,:string
  end
end
